<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>滑动切换的注册登录界面</title>
		<link rel="stylesheet" href="css/adminLogin.css">
	</head>
	<body>
		<div class="container">
			<div class="from-box">
				<!-- 注册 -->
				<div class="register-box hidden">
					<h1>register</h1>
					<input type="text" placeholder="用户名">
					<input type="email" placeholder="邮箱">
					<input type="password" placeholder="密码">
					<input type="password" placeholder="确认密码">
					<button>注册</button>
				</div>
				<!-- 登录 -->
				<div class="login-box">
					<h1>login</h1>
					<input type="text" placeholder="用户名" id="account">
					<input type="password" placeholder="密码" id="pwd">
					<button id="xyb">登录</button>
				</div>
			</div>
			<div class="con-box left">
				<h2>欢迎来到<span>修达达</span></h2>
				<p>以诚待人，用心做事<span>做到最好，追求更好</span></p>
				<img src="./img/gg.png" alt="">
				<!-- <p>已有账号</p>
				<button id="login">去登录</button> -->
			</div>
			<div class="con-box right">
				<h2>欢迎来到<span>修达达</span></h2>
				<p>休息与工作的关系<span>正如眼睑与眼睛的关系</span></p>
				<img src="./img/gg.png" alt="">
				<!-- <p>没有账号?</p>
				<button id="register">去注册</button> -->
			</div>
		</div>
		<script src="js/jquery.js"></script>
		<script src="js/request/base.js"></script>
		<script src="js/script/adminLogin.js"></script>
		<script>
			//要操作到的元素
			let login = document.getElementById("login");
			let register = document.getElementById("register");
			let form_box = document.getElementsByClassName("from-box")[0];
			let register_box = document.getElementsByClassName("register-box")[0];
			let login_box = document.getElementsByClassName("login-box")[0];
			//点击去注册按钮点击事件

			//点击去登录按钮点击事件
		</script>

	</body>
</html>